package org.ym.file.domain.common.model;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;

import java.nio.file.Path;

/**
 * 文件下载信息
 * @author ym
 */
@Getter
@Builder
@AllArgsConstructor(access = AccessLevel.PRIVATE)
public class FileDownloadInfo {
    private boolean isExists;
    /**
     * 文件类型
     */
    private String ext;
    /**
     * 存储路径
     */
    private Path downloadPath;
    /**
     * 文件大小
     */
    private long size;
}
